﻿using FieldController.Impls;
using FieldController.Interfaces;
using GrabFieldr.Models.Impls.Tools;
using GrabFieldr.Models.Interface;
using GrabFieldr.Models.Interface.Tools;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GrabFieldr.Models.Impls
{
    public class MachineModel : IMachineModel
    {
        // 显式实现接口属性，并使用自动属性语法
        IDateTimer Interface.IMachineModel._DateTime { get; set; }
        //选择日期索引
        public int SelectedIndex { get; set; }
        //web控制
        public IFieldGet _FieldGet { get; set; }

        public DateTime BookTime { get; set; }
        public bool IsBooked { get; set; }

        public MachineModel()
        {
            // 初始化接口属性
            ((Interface.IMachineModel)this)._DateTime = new DateTimer();
            ((Interface.IMachineModel)this)._FieldGet = new FieldGet();
            IsBooked = false;
        }


    }
}
